module AdminHelper
    def grade(submission)
        if submission.language == "haskell"
            haskell(submission)
        elsif submission.language == "java"
            java(submission)
        else
            puts "bzrt an error"
            puts "unknown language"
        end

    end

    def haskell(submission)

    end

    def java(submission)

    end
end
